 /*
 * @Descripttion: 
 * @version: @ 1.0.0
 * @Author: 朱江洲
 * @Date: 2021-11-25 15:44:50
 * @LastEditors: 朱江洲
 * @LastEditTime: 2021-12-21 13:16:30
 */
import request from '@/utils/request'

//订单详情
export const info = params => {
    return request({
        method: 'get',
        url: '/personal/myOrder/info',
        params
    })
}
// 订单详情人员列表
export const getRegisterInformations = params => {
    return request({
        method: 'get',
        url: '/personal/myOrder/getRegisterInformations',
        params
    })
}

// 退款人员列表
export const getRefundPeople = params => {
    return request({
        method: 'get',
        url: '/personal/myOrder/getRefundPeople',
        params
    })
}
// 申请退款
export const refund = data => {
    return request({
        method: 'post',
        url: '/personal/myOrder/refund',
        data
    })
}
// 替换人员列表
export const replaceList = params => {
    return request({
        method: 'get',
        url: '/personal/studentInfo/list',
        params
    })
}

// 替换人员
export const replace = data => {
    return request({
        method: 'post',
        url: '/personal/myOrder/replace',
        data
    })
}

// 查询是否报名
export const check = data => {
    return request({
        method: 'post',
        url: '/personal/myOrder/check',
        data
    })
}
// 退款查询
export const checkRefund = params => {
    return request({
        method: 'get',
        url: '/personal/myOrder/checkRefund',
        params
    })
}
